package com.px.chapter_Nov_1;

import java.io.IOException;
import java.util.Scanner;

public class text2 {
    public static void main(String[] args) throws IOException {
        char zm=(char)System.in.read();
        boolean bigzm=zm>=97&&zm<=122;
        boolean simzm=zm>=65&&zm<=90;
        System.out.println(bigzm);
        System.out.println(simzm);
        System.out.println(bigzm||simzm);
        Scanner scanner =new Scanner(System.in);
        int s=scanner.nextInt();
        int a=0;
        System.out.println((s>=60) ?(s>=80)? (s>=90)? "优秀" : "良" : "合格" : "不合格");
        System.out.println(++a);


    }
}
